import { ApiProperty } from '@nestjs/swagger';

import { IsDefined } from 'class-validator';

export class MinioUploadDto {
  @ApiProperty({ type: 'string', format: 'binary', description: '文件' })
  @IsDefined()
  file: Express.Multer.File;
}
